$OpenBSD: patch-src_image_image_pro,v 1.2 2016/01/06 16:50:35 sthen Exp $
--- src/image/image.pro.orig	Sun Jul 12 07:34:52 2015
+++ src/image/image.pro	Sun Dec 27 11:11:46 2015
@@ -24,8 +24,8 @@ DEPENDPATH += . ../shared
 INCLUDEPATH += . ../shared
 
 unix {
-    man.path=$$INSTALLBASE/share/man/man1
-    man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltoimage --manpage | gzip > $(INSTALL_ROOT)/share/man/man1/wkhtmltoimage.1.gz
+    man.path=$$INSTALLBASE/man/man1
+    man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltoimage --manpage > $(INSTALL_ROOT)/man/man1/wkhtmltoimage.1
 
     QMAKE_EXTRA_TARGETS += man
     INSTALLS += man
@@ -45,6 +45,8 @@ CONFIG(shared, shared|static) {
 } else {
   include(../lib/lib.pri)
 }
+
+QMAKE_LFLAGS = -L${WRKBUILD}/qt/lib
 
 # Input
 SOURCES += wkhtmltoimage.cc imagearguments.cc imagecommandlineparser.cc imagedocparts.cc
